package tragame.interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;
import tragame.game.Field;

public interface IMap extends Remote {

	public boolean addVillage(String player, String name, String race, int posX, int posY) throws RemoteException; 
	
	public boolean deleteVillage(int posX, int posY) throws RemoteException;
	
	public int getSize()throws RemoteException;
	
	public int getNbVillages()throws RemoteException;
	
	public IVillage getVillage(int posX, int posY)throws RemoteException;
	
	public Field getField(int posX, int posY)throws RemoteException;
	
}
